﻿/* 2012/9/5 */
using System;

namespace Cosmos.Shortcuts
{
    /// <summary>
    /// Provides data for the MouseGesture event.
    /// </summary>
    public class MouseGestureEventArgs : EventArgs
    {
        /// <summary>
        /// Initialize a new instance of the MouseGestureEventArgs class.
        /// </summary>
        /// <param name="gesture">The mouse gesture.</param>
        public MouseGestureEventArgs(MouseGesture gesture)
        {
            Gesture = gesture;
        }

        /// <summary>
        /// Gets the mouse gesture.
        /// </summary>
        public MouseGesture Gesture
        {
            get;
            protected set;
        }
    }

    /// <summary>
    /// Represents the method that will handle the MouseGesture event.
    /// </summary>
    /// <param name="sender">The source of the event.</param>
    /// <param name="e">A MouseGestureEventArgs that contains the event data.</param>
    public delegate void MouseGestureEventHandler(object sender, MouseGestureEventArgs e);
}
